write a program to perform arithmetic operations